home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-19 | 6.5 KB | 270 lines | [TEXT/WORD] |
- RESET
- UWCLOSE
- ERASE ALL
-
- ( Chages this command to "COMM 1200-N-8-1-HALF" if 2400 buad is )
- ( not available in your area. )
- COMM 2400-N-8-1-HALF
-
- DISPLAY 79
- VT102
- MBAR
- LF OFF
- SLOW OFF
- MODEM
- ECHO OFF
- PAUSE
-
- ( Set this pathname for the text file that will be created to hold the )
- ( page numbers of the libraries to be downloaded from )
- USEROPENO 1,Hard Disk:Communications:Libraries
-
- ( This series of commands is used to load the text that will be spoken )
- ( during the procedure asking you to enter library page numbers. If you )
- ( don't wish to take advantage of the Speak RCMD, just delete this series )
- ( of commands down to and including the NEST command. I know the spellings )
- ( are a little weird, but the resulting Macintalk seems to sound OK. )
- COPYINTO T$,Please enter the page numbers of the lie-braries
- CONCAT T$,that file de-scriptions are to be downloaded from.
- ERASE F$
- LET EQUAL P%,135
- LET EQUAL R%,0
- LET EQUAL M%,0
-
- ( Set this pathname to the folder containing the Speak RCMD that was )
- ( included in your WK 11 diskette )
- NEST Hard Disk:Communications:RCMDs:Speak RCMD.PROC
-
- :Firstloop
- ERASE A$
- ERASE X$
- ERASE Y$
- ERASE Z$
- COPYINTO X$,Mac RT 606, IBM RT 616, Freesoft RT 586, MACPRO RT 481.
- COPYINTO Y$,Enter page numbers one at a time with a return after each one.
- COPYINTO Z$,Leave the input field empty to proceed.......
- QUERY1 A$
- EMPTY A$
- IF YES JUMPTO Proceed
- USERWRITE 1,A$
- USERWRCR 1
- JUMPTO Firstloop
- :Proceed
- USERCLOSE 1
- PAUSE
-
- ( Set this pathname for the text file that will be created to hold the )
- ( file numbers to be downloaded from the libraries you selected )
- USEROPENO 2,Hard Disk:Communications:Files
-
- ( This series of commands is used to load the text that will be spoken )
- ( during the procedure asking you to enter file numbers. If you don't wish )
- ( to take advantage of the Speak RCMD, just delete this series of commands )
- ( down to and including the NEST command. )
- COPYINTO T$,Please enter the numbers of the files to be downloaded
- CONCAT T$,from the lie-braries you selected.
- ERASE F$
- LET EQUAL P%,135
- LET EQUAL R%,0
- LET EQUAL M%,0
-
- ( Set this pathname to the folder containing the Speak RCMD that was )
- ( included in your WK diskette )
- NEST Hard Disk:Communications:RCMDs:Speak RCMD.PROC
-
- :Secondloop
- ERASE B$
- ERASE X$
- ERASE Y$
- ERASE Z$
- COPYINTO X$,Enter file numbers to be downloaded from only ONE libarary
- COPYINTO Y$,each separated by a comma and then return. Enter only the word
- COPYINTO Z$,NEXT to separate files from different libraries.
- QUERY1 B$
- EMPTY B$
- IF YES JUMPTO Proceed1
- USERWRITE 2,B$
- USERWRCR 2
- JUMPTO Secondloop
- :Proceed1
- USERCLOSE 2
-
- ( see if the user wants to wait for a later time )
- ERASE C$
- ERASE X$
- ERASE Y$
- ERASE Z$
- COPYINTO X$,Enter time to download these files in 24 hour format
- COPYINTO Y$,like 23:30:00, or leave blank to download right now
- COPYINTO Z$,( Just hit OK, Return, or Enter to download right now.)
- QUERY1 C$
- EMPTY C$
- IF YES JUMPTO DIAL UP
-
- ( we do the following if the user enters a time to do it )
- CONCAT C$, to log on to GEnie and download the files ...
- ERASE W$
- ERASE X$
- ERASE Y$
- ERASE Z$
- COPYINTO X$,Waiting until
- COPYINTO Y$,C$
- COPYINTO Z$,
- CUWOPEN1 0,0,55,260
- WAIT C$
- UWCLOSE
- :DIAL UP
- INITMODEM
-
- ( Change this command to reflect your local GEnie telephone number )
- DIAL ATDT 123-4567
-
- ALERT1 NO CARRIER/JUMPTO DIAL UP
- ALERT2 BUSY/JUMPTO DIAL UP
- PAUSE
- TYPE H
- PAUSE 30
- TYPE H
- PAUSE 30
- TYPE H
- PROMPT U#
- PAUSE 120
-
- ( Change this command to reflect your own ID number and password )
- TYPE ABC12345,Password^M
-
- PROMPT ?
- PAUSE
- SAVETIME
- RESET
-
- ( Set the two paths below to the same paths you used above in the )
- ( USEROPENO commands )
- USEROPENI 1,Hard Disk:Communications:Libraries
- USEROPENI 2,Hard Disk:Communications:Files
-
- :READLOOP1
- ERASE D$
- USERREAD 2,D$
- IF ERROR JUMPTO QUIT
- CONTAINS D$,NEXT
- IF YES JUMPTO READLOOP1
- :READLOOP2
- ERASE E$
- USERREAD 1,E$
-
- ( This series of commands loads a particular settings file depending )
- ( on the GEnie library page number you select. This is necessary since )
- ( not all libraries download files using MacBinary II. Be sure to expand )
- ( this set of commands for any other MAC libraries you use regularly )
- CONTAINS E$,606
- IF YES LOADSET Hard Disk:Communications:Procedures:MAC Settings
- IF YES JUMPTO TYPE LIBRARY
- CONTAINS E$,586
- IF YES LOADSET Hard Disk:Communications:Procedures:MAC Settings
- IF YES JUMPTO TYPE LIBRARY
- CONTAINS E$,481
- IF YES LOADSET Hard Disk:Communications:Procedures:MAC Settings
- IF YES JUMPTO TYPE LIBRARY
-
- ( If none of the above pages was entered, this settings file is loaded )
- ( Be sure to modify the pathnames as appropriate. Don't be startled by )
- ( the name of the settings file below. It's really a text files setting)
- ( I use to download IBM files for by brother who doesn't have a local)
- ( GEnie telephone number. Big Blue strikes again!! )
- LOADSET Hard Disk:Communications:Procedures:IBM Settings
-
- :TYPE LIBRARY
- PAUSE 120
- TYPE M
- TYPE E$
- TYPE ;6^M
- PROMPT <H>elp?
- PAUSE 120
-
- ( See if the user wanted 1, or more then 1 files )
- CONTAINS D$,,
- IF NO JUMPTO ONE FILE
-
- ( If more then one file, do this routine )
- TYPE D$
- TYPE ^M
- PROMPT )?
- PAUSE
- TYPE Z^M
- PROMPT Download another file (Y/N)?
- JUMPTO Changelibraries
-
- ( This is executed if the user is only getting 1 file )
- :ONE FILE
- TYPE D$
- TYPE ^M
- ALERT1 this Library/JUMPTO Notinlibrary
- PROMPT ?
- PAUSE
- TYPE d^M
- PROMPT > to skip?
- PAUSE
- TYPE 4^M
- PROMPT Download another file (Y/N)?
- JUMPTO Changelibraries
-
- :QUIT
- TYPE BYE^M
- PROMPT CARRIER
- PAUSE
-
- :REAL END
- ELAPSED A%
- DIVIDE A%,60
- NUMTOSTRING A%,M$
- CONCAT M$, minutes to download these files from GEnie.
- ERASE W$
- ERASE X$
- ERASE Y$
- ERASE Z$
- COPYINTO W$,Report
- COPYINTO X$,All done! It took about
- COPYINTO Y$,M$
- COPYINTO Z$,
- CUWOPEN2 0,0,55,260
- BELL
-
- ( This displays the Report until the CloseBox is clicked in )
- :LOOP
- IF CLOSEUW JUMPTO FINAL
- JUMPTO LOOP
- :FINAL
- UWCLOSE
- PAUSE 360
-
- ( Change the two paths below to the same paths you used above so that any)
- ( text files created by this procedure will also be deleted by this )
- ( procedure when it is done )
- DELETE Hard Disk:Communications:Libraries
- PAUSE 360
- DELETE Hard Disk:Communications:Files
- PAUSE
- END
-
- ( This series of commands changes page numbers after you have )
- ( downloaded all your selected files. )
- :Changelibraries
- PAUSE
- TYPE N^M
- PROMPT ?
- PAUSE
- JUMPTO READLOOP1
-
- ( This series of commands is intended to keep the procedure from )
- ( hanging in the event you get a response from GEnie that states )
- ( that a file is not in the library. That happens if you make a )
- ( mistake entering file numbers or if the file is deleted by the )
- ( owner or sysop. )
- :Notinlibrary
- PROMPT (Y/N)?
- PAUSE
- TYPE Y^M
- JUMPTO READLOOP1
-
-